package com.yq.backend.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "sys_oplog")
public class SysOplog implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Integer id;


    @ApiModelProperty(value = "用户")
    private Integer userId;


    @ApiModelProperty(value = "操作")
    private String opContent;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    private static final long serialVersionUID = 1L;
}
